const http = uni.$u.http;

const getBannerList = (params) => {
	const url = `/paas-advertise/banner/list`
	return http.get(url, {
		params
	})
}

export const getArticleList = (params) => {
	const url = `/paas-advertise/advertorial/listPublishedAdvertorial`
	return http.get(url, {
		params
	})
}


export const getArticleDetail = (params) => {
	const url = `/paas-advertise/advertorial/detail`
	return http.get(url, {
		params
	})
}

export default {
	getBannerList,
	getArticleList,
	getArticleDetail
}
